package com.sls.web.manager.recharge.service;

import java.util.List;

import com.sls.web.manager.page.Pagination;
import com.sls.web.manager.pojo.UserInfoVO;
import com.sls.web.manager.recharge.pojo.StockSupplier;
import com.sls.web.manager.recharge.querybean.StockSupplierQuery;

/**
 * @author sxf
 * 
 */
public interface StockSupplierService {
	public boolean insert(StockSupplier info, UserInfoVO userInfoVO)
			throws Exception;

	/**
	 * 可传入条件id,name
	 * 
	 * @param query
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public Pagination<StockSupplier> queryPage(StockSupplierQuery query,
			UserInfoVO userInfoVO) throws Exception;

	/**
	 * 可传入条件id,name
	 * 
	 * @param query
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public List<StockSupplier> queryList(StockSupplierQuery query,
			UserInfoVO userInfoVO) throws Exception;

	/**
	 * 可传入条件id,name
	 * 
	 * @param query
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public StockSupplier queryOne(StockSupplierQuery query,
			UserInfoVO userInfoVO) throws Exception;

	public boolean update(StockSupplier info, UserInfoVO userInfoVO)
			throws Exception;

	public boolean delete(StockSupplier info, UserInfoVO userInfoVO)
			throws Exception;
}
